###
### Find the VisualStudio path
### 
if (Test-Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\100\Tools\ClientSetup")
{
    $SqlClientSetupFolder = (Get-ItemProperty -path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\100\Tools\ClientSetup").VSToolsPath
    
    Copy-Item -Force (Join-Path $dropFolder FimDataProcessingExtension.dll) $SqlClientSetupFolder
    Copy-Item -Force (Join-Path $dropFolder Microsoft.ResourceManagement.Client.dll) $SqlClientSetupFolder
    Copy-Item -Force (Join-Path $dropFolder Microsoft.ResourceManagement.ObjectModel.dll) $SqlClientSetupFolder
    
    Copy-Item -Force (Join-Path $dropFolder FimDataProcessingExtension.pdb) $SqlClientSetupFolder
    Copy-Item -Force (Join-Path $dropFolder Microsoft.ResourceManagement.Client.pdb) $SqlClientSetupFolder
    Copy-Item -Force (Join-Path $dropFolder Microsoft.ResourceManagement.ObjectModel.pdb) $SqlClientSetupFolder

